package com.cy.personer.bean;


import java.io.Serializable;

public class Rbac implements Serializable {

    private static final long serialVersionUID = 1887140278162019238L;

    /**
     * 序号
     */
    private Integer rbacId;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 二级菜单id
     */
    private Integer secondMenuId;

    /**
     * 二级菜单栏对象
     */
    private SecondMenu secondMenu;

    public Rbac(){
        super();
    }

    public Rbac(Integer rbacId,Integer roleId,Integer secondMenuId){
        this.rbacId=rbacId;
        this.roleId=roleId;
        this.secondMenuId=secondMenuId;
    }

    public Integer getRbacId() {
        return rbacId;
    }

    public void setRbacId(Integer rbacId) {
        this.rbacId = rbacId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getSecondMenuId() {
        return secondMenuId;
    }

    public void setSecondMenuId(Integer secondMenuId) {
        this.secondMenuId = secondMenuId;
    }

    public SecondMenu getSecondMenu() {
        return secondMenu;
    }

    public void setSecondMenu(SecondMenu secondMenu) {
        this.secondMenu = secondMenu;
    }
}
